package com.me.modules.knowledge.entity;

import com.me.modules.activiti.annotation.ActTable;
import com.me.modules.common.entity.ActivitiBaseEntity;
import com.me.modules.sys.entity.ValueDictionaryEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;


import java.util.List;


/**
 * 知识工单信息表
 *
 * @author me
 * @email me@163.com
 * @date 2019-01-04 13:34:33
 */
@ActTable(tableName = "knowledge_info",pkName="id")
public class KnowledgeInfoEntity extends ActivitiBaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//知识id
	private Long id;
	//知识编号
	private String knoNo;
	//知识标题
	private String topic;
	//关键字
	private String keyWord;
	//解决方案
	private String solution;
	//类型
	private String type;
	//状态
	private String status;
	//业务系统
	private Integer operation;
	//流程实例id
	private String instanceId;
	//创建时间
	private Date createDate;
	//流程发起时间
	private Date startTime;
	//流程定义id
	private String defid;
	//作者id
	private Integer authorId;
	//流程发起人
	private Integer startUserId;
	//审批结果
	private String actResult;
	//业务流程单据编号
	private String code;
	//请求人姓名
	private String reqUser;
	//作者姓名
	private String authorUser;
	//业务系统名称
	private String operationName;
	//自定义字段
	private List<ValueDictionaryEntity> valueDictionarys =new ArrayList<ValueDictionaryEntity>();
	//请求人
	private int reqId;

	//view_count浏览次数
	private int viewCount = 0;

	public int getViewCount() {
		return viewCount;
	}

	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}

	/**
	 * 设置：知识id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：知识id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：知识编号
	 */
	public void setKnoNo(String knoNo) {
		this.knoNo = knoNo;
	}
	/**
	 * 获取：知识编号
	 */
	public String getKnoNo() {
		return knoNo;
	}
	/**
	 * 设置：知识标题
	 */
	public void setTopic(String topic) {
		this.topic = topic;
	}
	/**
	 * 获取：知识标题
	 */
	public String getTopic() {
		return topic;
	}
	/**
	 * 设置：关键字
	 */
	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}
	/**
	 * 获取：关键字
	 */
	public String getKeyWord() {
		return keyWord;
	}
	/**
	 * 设置：解决方案
	 */
	public void setSolution(String solution) {
		this.solution = solution;
	}
	/**
	 * 获取：解决方案
	 */
	public String getSolution() {
		return solution;
	}
	/**
	 * 设置：类型
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：类型
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：业务系统
	 */
	public void setOperation(Integer operation) {
		this.operation = operation;
	}
	/**
	 * 获取：业务系统
	 */
	public Integer getOperation() {
		return operation;
	}
	/**
	 * 设置：流程实例id
	 */
	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}
	/**
	 * 获取：流程实例id
	 */
	public String getInstanceId() {
		return instanceId;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
	/**
	 * 设置：流程发起时间
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	/**
	 * 获取：流程发起时间
	 */
	public Date getStartTime() {
		return startTime;
	}
	/**
	 * 设置：流程定义id
	 */
	public void setDefid(String defid) {
		this.defid = defid;
	}
	/**
	 * 获取：流程定义id
	 */
	public String getDefid() {
		return defid;
	}
	/**
	 * 设置：作者id
	 */
	public void setAuthorId(Integer authorId) {
		this.authorId = authorId;
	}
	/**
	 * 获取：作者id
	 */
	public Integer getAuthorId() {
		return authorId;
	}
	/**
	 * 设置：流程发起人
	 */
	public void setStartUserId(Integer startUserId) {
		this.startUserId = startUserId;
	}
	/**
	 * 获取：流程发起人
	 */
	public Integer getStartUserId() {
		return startUserId;
	}
	/**
	 * 设置：审批结果
	 */
	public void setActResult(String actResult) {
		this.actResult = actResult;
	}
	/**
	 * 获取：审批结果
	 */
	public String getActResult() {
		return actResult;
	}
	/**
	 * 设置：业务流程单据编号
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：业务流程单据编号
	 */
	public String getCode() {
		return code;
	}

	public List<ValueDictionaryEntity> getValueDictionarys() {
		return valueDictionarys;
	}

	public void setValueDictionarys(List<ValueDictionaryEntity> valueDictionarys) {
		this.valueDictionarys = valueDictionarys;
	}

	public String getReqUser() {
		return reqUser;
	}

	public void setReqUser(String reqUser) {
		this.reqUser = reqUser;
	}

	public String getOperationName() {
		return operationName;
	}

	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}

	public int getReqId() {
		return reqId;
	}

	public void setReqId(int reqId) {
		this.reqId = reqId;
	}

	public String getAuthorUser() {
		return authorUser;
	}

	public void setAuthorUser(String authorUser) {
		this.authorUser = authorUser;
	}
}
